package com.lch.designpattern.decorate;

/**
 * @author: liuchenhui
 * @create: 2020-03-07 17:23
 **/
public class NavDecorate implements Inavigation {

    private Inavigation navDecorate;

    public NavDecorate(Inavigation navDecorate) {
        this.navDecorate = navDecorate;
    }

    @Override
    public String show() {
        String s = this.navDecorate.show() + "-作业-题库-成长墙";
        return s;
    }
}
